package com.alm.token.ui.data.bean;

import com.alm.token.base.BaseAdapter;

import java.util.List;

/**
 * Created by en on 2019/1/14.
 */

public class MyIncomeLogData {

    /**
     * msg : 成功
     * status : 0
     * data : {"code":0,"count":52,"data":[{"id":1027534,"userId":1627,"createTime":1556080574000,"updateTime":1556094913000,"money":100,"channelType":4,"msg":"量化订单支付","moneyType":2,"orderId":346,"coinPrice":167.72,"channelTypeStr":"量化收益","moneyTypeStr":"MIO","channelTypeEnStr":"Quantified income"}],"msg":""}
     * success : true
     * timestamp : 1556096089256
     * total : null
     */

    private String msg;
    private int status;
    private DataBeanX data;
    private boolean success;
    private long timestamp;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBeanX {
        /**
         * code : 0
         * count : 52
         * data : [{"id":1027534,"userId":1627,"createTime":1556080574000,"updateTime":1556094913000,"money":100,"channelType":4,"msg":"量化订单支付","moneyType":2,"orderId":346,"coinPrice":167.72,"channelTypeStr":"量化收益","moneyTypeStr":"MIO","channelTypeEnStr":"Quantified income"}]
         * msg :
         */

        private int code;
        private int count;
        private String msg;
        private List<DataBean> data;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean extends BaseAdapter.BaseItem {
            /**
             * id : 1027534
             * userId : 1627
             * createTime : 1556080574000
             * updateTime : 1556094913000
             * money : 100
             * channelType : 4
             * msg : 量化订单支付
             * moneyType : 2
             * orderId : 346
             * coinPrice : 167.72
             * channelTypeStr : 量化收益
             * moneyTypeStr : MIO
             * channelTypeEnStr : Quantified income
             */

            private int id;
            private int userId;
            private long createTime;
            private long updateTime;
            private double money;
            private int channelType;
            private String msg;
            private int moneyType;
            private int orderId;
            private double coinPrice;
            private String channelTypeStr;
            private String moneyTypeStr;
            private String channelTypeEnStr;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public double getMoney() {
                return money;
            }

            public void setMoney(double money) {
                this.money = money;
            }

            public int getChannelType() {
                return channelType;
            }

            public void setChannelType(int channelType) {
                this.channelType = channelType;
            }

            public String getMsg() {
                return msg;
            }

            public void setMsg(String msg) {
                this.msg = msg;
            }

            public int getMoneyType() {
                return moneyType;
            }

            public void setMoneyType(int moneyType) {
                this.moneyType = moneyType;
            }

            public int getOrderId() {
                return orderId;
            }

            public void setOrderId(int orderId) {
                this.orderId = orderId;
            }

            public double getCoinPrice() {
                return coinPrice;
            }

            public void setCoinPrice(double coinPrice) {
                this.coinPrice = coinPrice;
            }

            public String getChannelTypeStr() {
                return channelTypeStr;
            }

            public void setChannelTypeStr(String channelTypeStr) {
                this.channelTypeStr = channelTypeStr;
            }

            public String getMoneyTypeStr() {
                return moneyTypeStr;
            }

            public void setMoneyTypeStr(String moneyTypeStr) {
                this.moneyTypeStr = moneyTypeStr;
            }

            public String getChannelTypeEnStr() {
                return channelTypeEnStr;
            }

            public void setChannelTypeEnStr(String channelTypeEnStr) {
                this.channelTypeEnStr = channelTypeEnStr;
            }
        }
    }
}
